package bit.lotterysystem.service;

import bit.lotterysystem.controller.param.UserLoginParam;
import bit.lotterysystem.controller.param.UserRegisterParam;
import bit.lotterysystem.service.dto.UserDTO;
import bit.lotterysystem.service.dto.UserLoginDTO;
import bit.lotterysystem.service.dto.UserRegisterDTO;
import bit.lotterysystem.service.enums.UserIdentityEnum;

import java.util.List;

public interface UserService {

    /**
     * 注册
     */
    UserRegisterDTO register(UserRegisterParam param);

    UserLoginDTO login(UserLoginParam param);


    List<UserDTO> findUserInfo(UserIdentityEnum o);
}
